/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tenorclient;

/**
 *
 * @author Tomasz Nowak
 */
public class MainJFrame
{
	private static MainJFrame instance;
	private javax.swing.JFrame frame;
	private MainJFrame()
	{
		frame = new MainFrame();
		frame.setVisible(true);
	}
	
	public static MainJFrame getInstance()
	{
		if(instance == null)
		{
			instance = new MainJFrame();
		}
		return instance;
	}
	
	public javax.swing.JFrame getFrame()
	{
		return frame;
	}
}
